<html>
 <head>
    <link type="text/css" rel="stylesheet" href="/stylesheet/main.css" />
  </head>
  <body>
  	{% for pic in pictures %}
  		<p>{{ pic.title }} <img src='{{ pic.url }}' witdh="150px" alt='{{ pic.rate }}' /></p>
  	{% endfor %}
  	<!--
    {% for greeting in greetings %}
      {% if greeting.author %}
        <b>{{ greeting.author.nickname() }}</b> wrote:
      {% else %}
        An anonymous person wrote:
      {% endif %}
      <blockquote>{{ greeting.content|escape }}</blockquote>
    {% endfor %}

    <form action="/sign" method="post">
      <div><textarea name="content" rows="3" cols="60"></textarea></div>
      <div><input type="submit" value="Sign Guestbook"></div>
    </form>
	
	<form action="/pic" method="post">
		<p><input type='text' name='url' /></p>
		<p><input type='text' name='title' /></p>
		<p><input type='text' name='rate' /></p>
		<p><input type='submit' name='submit' value='Get picture' /></p>
	</form>
	-->
	
    <a href="{{ url }}">{{ url_linktext }}</a>

  </body>
</html>